Logoff Method (Session Object)
The Logoff
method logs off from the MAPI system.
Syntax
objSession.Logoff()
Parameters
objSession
Required. The
Session object.
Example
The following
example logs off from the MAPI system:
' from the function Session_Logoff
If Not
objSession Is Nothing Then
objSession.Logoff
MsgBox
"Logged off; reset global variables"
Else
MsgBox
"No active session"
End If
See Also